package com.example.entry;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
* 用户表
* */

@TableName(value ="user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @TableId(value="id", type= IdType.AUTO)
    private Integer id;

    private String username;

    private String password;

    private String nickname;

    private Integer sex;

    private String phone;

    private String address;

    private String email;

    private Float money;

    private String avatarUrl;

    private Integer status;

    private Integer isRider;

    private Integer isDel;

}
